package com.ztjy.repository.dao;

import com.ztjy.bean.RkWarehouse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface RkWarehouseDao {
    /**
     * 查询所有出库商品
     * @param rkWarehouse
     * @return
     */
    List<RkWarehouse> findAllRkWarehouse(RkWarehouse rkWarehouse);

    public RkWarehouse findRkWarehouseById(Integer id);


    int AddRkWarehouse(RkWarehouse warehouse);

    int UpdateRkWarehouse(RkWarehouse warehouse);

}